import { Content } from 'layout/';

import { Main } from 'views/';

export default {
  path: 'question',
  name: '问题管理',
  icon: 'inbox',
  component: Content,
  redirect: '/question/list',
  children: [{
    path: 'list',
    name: '问题列表',
    icon: 'bar-chart',
    component: Main.Question.List
  }, {
    path: 'create',
    hidden: true,
    name: '创建问题',
    icon: 'bar-chart',
    component: Main.Question.Edit
  }, {
    path: 'edit',
    hidden: true,
    name: '编辑问题',
    icon: 'bar-chart',
    component: Main.Question.Edit
  }]
};